package com.avic.rong.bean.product;

import java.util.List;

/**
 * Creater: Created by wangyz on 2019/9/7.
 * Email: 936804097@qq.com
 */
public class GoodBean {


    /**
     * no : SJ/T 10532.10-1994
     * img : null
     * oldNo : null
     * typeName : 标准
     * ansNum : null
     * coverImgOne : null
     * attrShow : 有效
     * source : null
     * hot : 0
     * title : SJ/T 10532.10-1994工艺管理  定置管理
     * type : 1
     * customCatIds : []
     * postTime : 2019-03-14T02:23:16.000+0000
     * coverImgTwo : null
     * dataId : 710676
     * price : 15
     * sortNum : 0
     * id : 3148909
     * matchFields : []
     * author : null
     * url : /good/285229
     * attrs : ["1000|0","2000|电子行业标准SJ","84|工艺管理  定置管理","74|纸质版","51|SJ","55|中文","59|A01","2000|A01","80|公开","50|Technological management Positing management","62|2018-08-06","53|有效","56|3.0","61|1994-12-01","86|纸质版"]
     * tags : null
     * yearFields : [{"filedName":"61","filedValue":786211200000}]
     * publishYear : 10
     * series : 10
     * typeId : 1
     * catIds : [999,1001,1139]
     * desc : 工艺管理  定置管理
     */
    private int typeFlag;
    private boolean showName;//控制item左边名字
    private boolean lastOne;//section的最后一个




    private String no;
    private String img;
    private List<String> oldNo;
    private String typeName;
    private String ansNum;
    private String coverImgOne;
    private String attrShow;
    private String source;
    private String tempName;
    private int hot;
    private String title;
    private int type;
    private String postTime;
    private String coverImgTwo;
    private int dataId;
    private float price;
    private int sortNum;
    private long id;
    private String author;
    private String url;
    private List<String> tags;
    private String publishYear;
    private String series;
    private int typeId;
    private String desc;
    private List<String> customCatIds;
    private List<AttrFiledBean> matchFields;
    private List<String> attrs;
    private List<YearFieldsBean> yearFields;
    private List<Integer> catIds;

    public boolean isLastOne() {
        return lastOne;
    }

    public void setLastOne(boolean lastOne) {
        this.lastOne = lastOne;
    }

    public boolean isShowName() {
        return showName;
    }

    public void setShowName(boolean showName) {
        this.showName = showName;
    }

    public int getTypeFlag() {
        return typeFlag;
    }

    public void setTypeFlag(int typeFlag) {
        this.typeFlag = typeFlag;
    }

    public String getTempName() {
        return tempName;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName;
    }

    public static class AttrFiledBean{
        private String filedName;
        private String filedValue;

        public String getFiledName() {
            return filedName;
        }

        public void setFiledName(String filedName) {
            this.filedName = filedName;
        }

        public String getFiledValue() {
            return filedValue;
        }

        public void setFiledValue(String filedValue) {
            this.filedValue = filedValue;
        }
    }



    public static class YearFieldsBean {
        /**
         * filedName : 61
         * filedValue : 786211200000
         */

        private String filedName;
        private long filedValue;

        public String getFiledName() {
            return filedName;
        }

        public void setFiledName(String filedName) {
            this.filedName = filedName;
        }

        public long getFiledValue() {
            return filedValue;
        }

        public void setFiledValue(long filedValue) {
            this.filedValue = filedValue;
        }
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public List<String> getOldNo() {
        return oldNo;
    }

    public void setOldNo(List<String> oldNo) {
        this.oldNo = oldNo;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getAnsNum() {
        return ansNum;
    }

    public void setAnsNum(String ansNum) {
        this.ansNum = ansNum;
    }

    public String getCoverImgOne() {
        return coverImgOne;
    }

    public void setCoverImgOne(String coverImgOne) {
        this.coverImgOne = coverImgOne;
    }

    public String getAttrShow() {
        return attrShow;
    }

    public void setAttrShow(String attrShow) {
        this.attrShow = attrShow;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public int getHot() {
        return hot;
    }

    public void setHot(int hot) {
        this.hot = hot;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPostTime() {
        return postTime;
    }

    public void setPostTime(String postTime) {
        this.postTime = postTime;
    }

    public String getCoverImgTwo() {
        return coverImgTwo;
    }

    public void setCoverImgTwo(String coverImgTwo) {
        this.coverImgTwo = coverImgTwo;
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public String getPublishYear() {
        return publishYear;
    }

    public void setPublishYear(String publishYear) {
        this.publishYear = publishYear;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<String> getCustomCatIds() {
        return customCatIds;
    }

    public void setCustomCatIds(List<String> customCatIds) {
        this.customCatIds = customCatIds;
    }

    public List<AttrFiledBean> getMatchFields() {
        return matchFields;
    }

    public void setMatchFields(List<AttrFiledBean> matchFields) {
        this.matchFields = matchFields;
    }

    public List<String> getAttrs() {
        return attrs;
    }

    public void setAttrs(List<String> attrs) {
        this.attrs = attrs;
    }

    public List<YearFieldsBean> getYearFields() {
        return yearFields;
    }

    public void setYearFields(List<YearFieldsBean> yearFields) {
        this.yearFields = yearFields;
    }

    public List<Integer> getCatIds() {
        return catIds;
    }

    public void setCatIds(List<Integer> catIds) {
        this.catIds = catIds;
    }
}
